package com.wyz.module.user.model.dto;

import com.sun.istack.internal.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 无涯子
 * @version 1.0
 * @date 2024/4/14 17:59:27
 */
@Data
@ApiModel("保存修改用户信息DTO")
public class UserDTO {
    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("姓名")
    @NotNull
    private String name;

    @ApiModelProperty("性别")
    @NotNull
    private String sex;

    @ApiModelProperty("年龄")
    @NotNull
    private Integer age;
}
